package com.bf.electroplating.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bf.electroplating.pojo.dto.renovate.ControlProblemRenovateAddDTO;
import com.bf.electroplating.pojo.dto.renovate.ControlProblemRenovateQueryDTO;
import com.bf.electroplating.pojo.dto.renovate.ControlProblemRenovateUpdateDTO;
import com.bf.electroplating.pojo.entity.ControlProblemRenovate;
import com.bf.electroplating.pojo.vo.renovate.ControlProblemRenovateVO;
import com.bf.electroplating.util.easyexcel.excel.problem.ProblemRenovateExcel;

import java.util.List;

/**
* @author 15451
* @description 针对表【control_problem_renovate(整改问题表)】的数据库操作Service
* @createDate 2025-06-26 11:03:14
*/
public interface ControlProblemRenovateService extends IService<ControlProblemRenovate> {

    void save(ControlProblemRenovateAddDTO dto);

    void update(ControlProblemRenovateUpdateDTO dto);

    void delete(String id);

    void batchDelete(List<String> ids);

    ControlProblemRenovateVO detail(String id);

    Page<ControlProblemRenovateVO> page(ControlProblemRenovateQueryDTO dto);

    void saveBatch(List<ProblemRenovateExcel> dataList);
}
